package com.pan.entity;

public class Chapter {
    private int id;
    private String url;
    private String title;

    public Chapter() {
    }

    public Chapter(int id, String title, String url) {
        this.id = id;
        this.url = url;
        this.title = title;
    }

    public int getId() {
        return id;
    }

    public Chapter setId(int id) {
        this.id = id;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public Chapter setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public Chapter setTitle(String title) {
        this.title = title;
        return this;
    }

    @Override
    public String toString() {
        return "Chapter{" +
                "id=" + id +
                ", url='" + url + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
